package com.vogue.supplymall.shop.domain.service;

import com.vogue.supplymall.shop.domain.model.ProductImg;

import java.util.List;

/**
 * The interface Product img service.
 *
 * @aouthor: zhangliang
 * @date: Create in 2017-12-25
 */
public interface ProductImgService extends BaseService<ProductImg, Long> {

    /**
     * Find by product id list.
     *
     * @param pid the pid
     * @return the list
     */
    List<ProductImg> findByProductId(Long pid);
    /**
	 * 根据syscodeid、productid得到商品图片信息
	 */
	public ProductImg findProductImgBySP(Long syscodeId,Long productId);
	/**
	 * 根据syscodeid、productid删除商品图片信息
	 */
	public int delProductImgBySP(Long syscodeId,Long productId);
}
